package com.tang.subject.application.controller.converter;

import com.tang.subject.application.controller.dto.SubjectInfoDTO;
import com.tang.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SubjectInfoDTOConverter {

    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDtoToBo(SubjectInfoDTO subjectInfoDTO);
    SubjectInfoDTO convertBoToDto(SubjectInfoBO subjectInfoDTO);

}
